package com.ygjy.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SmUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "SM_USER", schema = "JGJY")
public class SmUser implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 1767860959394881607L;
	private String pkUser;
	private String account;
	private String name;
	private String name1;
	private String password;
	private Integer userType;
	private String email;
	private String tel;
	private String islocked;
	private String parentId;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private String def10;
	private String def2;
	private String def1;
	private String lastLoginTime;
	private String addTime;
	private Integer dr;
	private String ts;

	// Constructors

	/** default constructor */
	public SmUser() {
	}

	/** minimal constructor */
	public SmUser(String pkUser, String account, String password) {
		this.pkUser = pkUser;
		this.account = account;
		this.password = password;
	}

	/** full constructor */
	public SmUser(String pkUser, String account, String name, String name1,
			String password, Integer userType, String email, String tel,
			String islocked, String parentId, String def3, String def4,
			String def5, String def6, String def7, String def8, String def9,
			String def10, String def2, String def1, String lastLoginTime,
			String addTime, Integer dr, String ts) {
		this.pkUser = pkUser;
		this.account = account;
		this.name = name;
		this.name1 = name1;
		this.password = password;
		this.userType = userType;
		this.email = email;
		this.tel = tel;
		this.islocked = islocked;
		this.parentId = parentId;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.def10 = def10;
		this.def2 = def2;
		this.def1 = def1;
		this.lastLoginTime = lastLoginTime;
		this.addTime = addTime;
		this.dr = dr;
		this.ts = ts;
	}

	// Property accessors
	@Id
	@Column(name = "PK_USER", unique = true, nullable = false, length = 20)
	public String getPkUser() {
		return this.pkUser;
	}

	public void setPkUser(String pkUser) {
		this.pkUser = pkUser;
	}

	@Column(name = "ACCOUNT", nullable = false, length = 50)
	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	@Column(name = "NAME", length = 50)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "NAME1", length = 50)
	public String getName1() {
		return this.name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	@Column(name = "PASSWORD", nullable = false, length = 50)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "USER_TYPE", precision = 22, scale = 0)
	public Integer getUserType() {
		return this.userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	@Column(name = "EMAIL", length = 200)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "TEL", length = 50)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "ISLOCKED", length = 1)
	public String getIslocked() {
		return this.islocked;
	}

	public void setIslocked(String islocked) {
		this.islocked = islocked;
	}

	@Column(name = "PARENT_ID", length = 20)
	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	@Column(name = "DEF3", length = 200)
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4", length = 200)
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5", length = 200)
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6", length = 200)
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7", length = 200)
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8", length = 200)
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9", length = 200)
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "DEF10", length = 200)
	public String getDef10() {
		return this.def10;
	}

	public void setDef10(String def10) {
		this.def10 = def10;
	}

	@Column(name = "DEF2", length = 200)
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF1", length = 200)
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "LAST_LOGIN_TIME", length = 19)
	public String getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Column(name = "ADD_TIME", length = 19)
	public String getAddTime() {
		return this.addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	@Column(name = "DR", precision = 22, scale = 0)
	public Integer getDr() {
		return this.dr;
	}

	public void setDr(Integer dr) {
		this.dr = dr;
	}

	@Column(name = "TS", length = 19)
	public String getTs() {
		return this.ts;
	}

	public void setTs(String ts) {
		this.ts = ts;
	}

}